﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kaiser.Services
{
    public interface IServiceBase<T>
    {
        void Insert(T model);
        void Update(T model);
        int Delete(object primaryId);
        int DeleteList(IList<string> ids );
        T Get(object primaryId);
    }

    public interface IRepositorieBase<T>
    {
        void Insert(T model);
        void Update(T model);
        int Delete(object primaryId);
        T Get(object primaryId);
        int DeleteList(IList<string> ids);
    }


}
